package com.anwen.mongoa.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Jungle
 * @create 2024-05-22 16:36
 */
@Data
@ApiModel("学生DTO")
public class StudentDTO {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("性别 0-不设置  1-男 2-女")
    private Integer sex;
    @ApiModelProperty("班级")
    private String classes;
    @ApiModelProperty("分数")
    private Double score;
}
